package com.fkdx.dao.mapper;

import com.fkdx.dao.condition.RoleCondition;
import com.fkdx.dao.entity.Role;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository()
public interface RoleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKey(Role record);
    
    int updateSelective(Role record);

    List<Role> selectAll(RoleCondition condition);

    int updateByIds(@Param("ids") List<Long> ids);

    List<Role> queryList(RoleCondition condition);
}
